package cc.cinemate.api.domain.movie;
import java.util.Date;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementArray;
import org.simpleframework.xml.Root;

import cc.cinemate.api.domain.common.CinematePoster;

@Root(name = "movie")
public class CinemateFilm {
	
	@Element(name = "date", required = false)
	public Date Date;
	
	@Element(name = "title_russian")
	public String TitleRussian;
	
	@Element(name = "title_original")
	public String TitleOriginal;
	
	@Element(name = "title_english", required = false)
	public String TitleEnglish;
	
	@Element(name = "year")
	public Integer Year;
	
	@Element(name = "poster")
	public CinematePoster Poster;
	
	@Element(name = "description", required = false)
	public String Description;
	
	@Element(name = "runtime", required = false)
	public Integer Runtime;
	
	@Element(name = "release_date_world", required = false)
	public Date ReleaseDateWorld;
	
	@Element(name = "release_date_russia", required = false)
	public Date ReleaseDateRussia;
	
	@Element(name = "url")
	public String Url;
	
	@Element(name = "imdb", required = false)
	public ImdbInfo Imdb;
	
	@Element(name = "kinopoisk", required = false)
	public KinopoiskInfo Kinopoisk;
	
	@ElementArray(name = "country", entry="name", required = false)
	public String[] Country;
	
	@ElementArray(name = "genre", entry="name", required = false)
	public String[] Genre;
	
	@ElementArray(name = "director", entry="name", required = false)
	public String[] Director;
	
	@ElementArray(name = "cast", entry="name", required = false)
	public String[] Cast;
}
